/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.xy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 黑名单 实体类
 *
 * @author BladeX
 * @since 2023-07-18
 */
@Data
@TableName("oa_blacklist")
@ApiModel(value = "Blacklist对象", description = "黑名单")
@EqualsAndHashCode(callSuper = true)
public class BlacklistEntity extends TenantEntity {

	/**
	 * 身份证号
	 */
	@ApiModelProperty(value = "身份证号，原字段：idNumber")
	private String idCard;
	/**
	 * 磁卡
	 */
	@ApiModelProperty(value = "磁卡，原字段：rfid")
	private String swipeCard;
	/**
	 * 类型：0公安，1主办，2场馆
	 */
	@ApiModelProperty(value = "类型：0公安，1主办，2场馆，原字段：blacklistType")
	private Integer blacklistType;
	/**
	 * 展会id
	 */
	@ApiModelProperty(value = "展会id，原字段：exhibitionId")
	private Long exhibitionId;
	/**
	 * 二维码
	 */
	@ApiModelProperty(value = "二维码，原字段：card_no")
	private String twoCode;
	/**
	 * 姓名
	 */
	@ApiModelProperty(value = "姓名，原字段：name")
	private String name;
	/**
	 * 有效期开始时间
	 */
	@ApiModelProperty(value = "有效期开始时间，原字段：startTime")
	private Date startTime;
	/**
	 * 有效期结束时间
	 */
	@ApiModelProperty(value = "有效期结束时间，原字段：endTime")
	private String endTime;
	/**
	 * 风险等级：1低，2中，3高
	 */
	@ApiModelProperty(value = "风险等级：1低，2中，3高，原字段：riskLevel")
	private Integer riskLevel;
	/**
	 * 证件类型：1身份证，2二维码，3磁卡
	 */
	@ApiModelProperty(value = "证件类型：1身份证，2二维码，3磁卡，原字段：cardType")
	private Integer cardType;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;

}
